package com.ra.constant;

/***
 * 身份验证常量
 */
public interface AuthConstant {
    //JWT的超期限时间
    int EXPIRE_TIME =24 * 60 * 60;
    //JWT存储的请求头
    String TOKEN_HEADER = "Authorization";
    // JWT 负载中拿到开头
    String TOKEN_HEAD = "Bearer ";
    // JWT 加解密使用的密钥
    String SECRET = "blog-ra";

    String APPLICATION_JSON = "application/json;charset=utf-8";

}
